
const state = {
  tenantId: '',
  tenantName: ''
}


const mutations = {
  SET_TENANT_ID: (state, tenantId) => {
    state.tenantId = tenantId
  },
  SET_TENANT_NAME: (state, tenantName) => {
    state.tenantName = tenantName
  }
}

const actions = {
  tenantIdUpdate({commit}, tenantId) {
    commit('SET_TENANT_ID', tenantId)
  },

  tenantNameUpdate({commit}, tenantName) {
    commit('SET_TENANT_NAME', tenantName)
  },

}


export default {
  namespaced: true,
  state,
  mutations,
  actions
}
